/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "每日考核",TableName = "Attendance_Records")]
    public partial class Attendance_Records:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="AttendanceId")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int AttendanceId { get; set; }

       /// <summary>
       ///事业部
       /// </summary>
       [Display(Name ="事业部")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string Division { get; set; }

       /// <summary>
       ///业务经理
       /// </summary>
       [Display(Name ="业务经理")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string Manager { get; set; }

       /// <summary>
       ///是否出差
       /// </summary>
       [Display(Name ="是否出差")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string TravelStatus { get; set; }

       /// <summary>
       ///出勤日期
       /// </summary>
       [Display(Name ="出勤日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? Attendance_date { get; set; }

       /// <summary>
       ///上班时间
       /// </summary>
       [Display(Name ="上班时间")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string BusinessHour { get; set; }

       /// <summary>
       ///下班时间
       /// </summary>
       [Display(Name ="下班时间")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string ClosingHour { get; set; }

       /// <summary>
       ///出勤时间
       /// </summary>
       [Display(Name ="出勤时间")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string AttendanceTime { get; set; }

       /// <summary>
       ///出勤地点
       /// </summary>
       [Display(Name ="出勤地点")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string AttendanceLocation { get; set; }

       /// <summary>
       ///签到地点
       /// </summary>
       [Display(Name ="签到地点")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string CheckInLocation { get; set; }

       /// <summary>
       ///分类
       /// </summary>
       [Display(Name ="分类")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Classify { get; set; }

       /// <summary>
       ///年
       /// </summary>
       [Display(Name ="年")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string Year { get; set; }

       /// <summary>
       ///月
       /// </summary>
       [Display(Name ="月")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string Month { get; set; }

       /// <summary>
       ///日
       /// </summary>
       [Display(Name ="日")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string Day { get; set; }

       /// <summary>
       ///省
       /// </summary>
       [Display(Name ="省")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string Province { get; set; }

       /// <summary>
       ///市
       /// </summary>
       [Display(Name ="市")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string City { get; set; }

       /// <summary>
       ///区
       /// </summary>
       [Display(Name ="区")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string District { get; set; }

       /// <summary>
       ///员工账号
       /// </summary>
       [Display(Name ="员工账号")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       public string StaffAccount { get; set; }

       
    }
}